package com.ny.mapper;

import java.util.List;
import com.ny.domain.GroupCourseInfoDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;

/**
 * GroupCourseInfoMapper
 *
 * @author MSI-NB
 * @date 2025-03-08 13:14:38
 */
@Mapper
public interface GroupCourseInfoMapper {

    int insert(GroupCourseInfoDO groupCourseInfoDO);

    List<GroupCourseInfoDO> selectByName(@Param("courseName") String courseName);

    int countByTime(@Param("courseStartTime") Date courseStartTime, @Param("courseEndTime") Date courseEndTime);

    GroupCourseInfoDO selectById(Integer courseId);
}
